package com.cdu.guoxinan.www.smartcom.domian.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 维修人员更新DTO
 */
@Data
@ApiModel("维修人员更新DTO")
public class UpdateRepairManDTO {
    
    @NotNull(message = "ID不能为空")
    @ApiModelProperty("ID")
    private Integer id;
    
    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty("姓名")
    private String name;
    
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty("手机号")
    private String phone;
    
    @NotBlank(message = "身份证不能为空")
    @ApiModelProperty("身份证")
    private String idCard;
} 